<?php
/**
 * File: cooperationtypes.php.
 * Author: zhouzhe@haibao.com
 * Editor: PhpStorm
 * Date: 16/5/5 上午10:15
 * Brief:
 */
namespace haibao\cms\model\data\cooperation;

class CooperationTypes extends \haibao\cms\model\data\Base{
	/*
	 * 特约视频合作
	 */
	const TYPE_VIDOE = 1;
	/**
	 * 特约采访合作
	 */
	const TYPE_INTERVIEW = 2;
	/**
	 * 特约搭配合作
	 */
	const TYPE_COLLOCATION = 3;
	/**
	 * 活动独家合作
	 */
	const TYPE_EXCLUSIVE = 4;

	public static $CooperationTypes = array(
		self::TYPE_VIDOE=>'视频',
		self::TYPE_INTERVIEW=>'采访',
		self::TYPE_COLLOCATION=>'大片',
		self::TYPE_EXCLUSIVE=>'独家'
	);

	public $CooperationId;
	public $Type;
	public function __construct(){
		parent::__construct();
		$this->intField('CooperationId', 'CooperationId',true);
		$this->intField('Type', 'Type',true);

		$this->setTableName('CooperationTypes');
	}
}